package com.home766.entity;

import net.biz.entity.OrderEntity;

import javax.persistence.*;

@Entity
@Table(name = "766_service_area")
@SequenceGenerator(name = "sequenceGenerator", sequenceName = "766_service_area_sequence")
public class ServiceArea extends OrderEntity {
	
	/*省*/
	private Long provinceId;
	/*市*/
	private Long cityId;
	/*区*/
	private Long areaId;
	/*门店编码*/
	private String shopsCode;
	/*区域名称*/
	private String areaName;
	
	@Column(name ="province_id")
	public Long getProvinceId() {
		return provinceId;
	}
	public void setProvinceId(Long provinceId) {
		this.provinceId = provinceId;
	}
	@Column(name ="city_id")
	public Long getCityId() {
		return cityId;
	}
	public void setCityId(Long cityId) {
		this.cityId = cityId;
	}
	@Column(name ="area_id")
	public Long getAreaId() {
		return areaId;
	}
	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}
	@Column(name ="shops_code")
	public String getShopsCode() {
		return shopsCode;
	}
	public void setShopsCode(String shopsCode) {
		this.shopsCode = shopsCode;
	}
	@Transient
	public String getAreaName() {
		return areaName;
	}
	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	
}
